package com.avcdata.avcchart.linechart.combinedchart;

import android.content.Context;
import android.support.annotation.ColorInt;
import android.util.AttributeSet;

import com.github.mikephil.charting.charts.CombinedChart;
import com.github.mikephil.charting.components.Description;

/**
 * 标准柱状图
 * Created by zyh on 17/6/20.
 */

public class AvcBaseCombinedChart extends CombinedChart {
    public AvcBaseCombinedChart(Context context) {
        super(context);
    }

    public AvcBaseCombinedChart(Context context, AttributeSet attrs) {
        super(context, attrs);
    }

    public AvcBaseCombinedChart(Context context, AttributeSet attrs, int defStyle) {
        super(context, attrs, defStyle);
    }

    @Override
    public Description getDescription() {
        return super.getDescription();
    }

    @Override
    public void setBackgroundColor(@ColorInt int color) {
        super.setBackgroundColor(color);
    }

    @Override
    public void setDrawGridBackground(boolean enabled) {
        super.setDrawGridBackground(enabled);
    }

    @Override
    public void setDrawBarShadow(boolean enabled) {
        super.setDrawBarShadow(enabled);
    }

    /**
     * y轴方向上不允许拉伸
     * @param enabled
     */
    @Override
    public void setScaleEnabled(boolean enabled) {
        super.setScaleEnabled(enabled);
    }

    @Override
    public void setHighlightFullBarEnabled(boolean enabled) {
        super.setHighlightFullBarEnabled(enabled);
    }

    @Override
    public void setDragEnabled(boolean enabled) {
        super.setDragEnabled(enabled);
    }

    @Override
    public void setNoDataText(String text) {
        super.setNoDataText(text);
    }

    /**
     * 设置数据在上边显示
     * @param enabled
     */
    @Override
    public void setDrawValueAboveBar(boolean enabled) {
        super.setDrawValueAboveBar(enabled);
    }

    /**
     * 设置是否可以触摸
     * @param enabled
     */
    @Override
    public void setTouchEnabled(boolean enabled) {
        super.setTouchEnabled(enabled);
    }

    @Override
    public void setDragDecelerationEnabled(boolean enabled) {
        super.setDragDecelerationEnabled(enabled);
    }


}
